package com.example.pei.papa.tables;

import java.util.ArrayList;
import java.util.List;

import cn.bmob.v3.BmobObject;

/**
 * Created by Pei on 2017/11/8.
 */

public class AlumniCircle extends BmobObject {
    private String senderID;
    private String content;    //技能圈的文字内容
    private int photoNumber;
    private int state;         //这条动态的状态
    private List<String> photo;
    private int sex;

    private String senderPhone;
    private int praiseNumber;
    private int commentNumber;

    private transient int isPraise ;    //不上传服务器 当前用户是否点赞了这条动态  ，1点赞 ，0 未点赞

    public AlumniCircle(){
       // photo=new ArrayList<>();
    }
    public int getIsPraise(){return  isPraise;}
    public void setIsPraise(int isPraise){this.isPraise=isPraise;}
    public int getPraiseNumber(){return praiseNumber;}
    public void setPraiseNumber(int number){this.praiseNumber=number;}
    public int getCommentNumber(){return commentNumber;}
    public void setCommentNumber(int number){this.commentNumber=number;}
    public int getSex(){return sex;}
    public void setSex(int sex){this.sex=sex;}
    public String getSenderPhone(){return senderPhone;}
    public void setSenderPhone(String userPhone){this.senderPhone=userPhone;}
    public String getSenderID(){return senderID;}
    public void setSenderID(String senderID){this.senderID=senderID;}
    public int getPhotoNumber(){return photoNumber;}
    public void setPhotoNumber(int photoNumber){this.photoNumber=photoNumber;}
    public int getState(){return state;}
    public void setState(int state){this.state=state;}
    public void setContent(String content){this.content=content;}
    public String getContent(){return content;}
    public List getphotos(){return photo;}
    public void setPhoto(List<String> urls){
        if(urls==null) return;
        photo=new ArrayList<> (urls);
    }

}

